<?php
namespace App\Controller;

use App\Service\IndexServer;

class IndexController {

    public function index(IndexServer $indexServer) {
        return $indexServer->hello();
    }

    public function info($id, IndexServer $indexServer) {
        return $indexServer->getInfo($id);
    }

}